package com.dddd.blog.blogcommon.pojo.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Admin对象的视图响应对象
 * @author 喵星球的大橘
 */
@Data
public class AdminVO implements Serializable {
    private static final long serialVersionUID = 2786789184027506634L;

    private Long uid;

    private String name;

    private Long roleId;

    private String avatar;

    private String email;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String summary;

    private Integer status;

    private String qqNumber;

    private String weChat;

}
